package com.ruoyi.mateProcurement.mapper;

import com.ruoyi.mateProcurement.domain.MateOutbound;
import com.ruoyi.mateProcurement.domain.MateOutboundModel;
import com.ruoyi.mateProcurement.domain.MateProcurement;

import java.util.List;
import java.util.Map;

/**
 * @Author
 * @Version 1.0
 */
public interface MateOutboundMapper {

    int insertMateOutbound(MateOutbound mateOutbound);

    MateOutbound selectMateOutbound(Map<String, Object> resMap);

    List<MateOutbound> selectPurchaseOrderNumList(Map<String, Object> resMap);

    List<MateOutbound> selectMateOutboundList(MateOutbound mateOutbound);

    MateOutbound selectMateOutboundBy(MateOutbound mateOutbound);

    int insertMateOutboundModel(MateOutboundModel mateOutboundModel);

    List<MateOutboundModel> selectMateOutboundModelBy(Long mateGoodsId);

    List<Long> selectMateOutboundWarehousingIdlist(Long mateGoodsId);

    void  deleteMateOutboundById(Long mateGoodsId);

    void deleteMateOutboundModelById(Long mateGoodsId);

    int updateMateOutbound(MateOutbound mateOutbound);

    int updateMateOutboundModel(MateOutboundModel mateOutboundModel);

    MateOutbound selectMateOutboundByOrderId(Long mateGoodsId);

    List<MateOutbound> selectMateOutboundShowList(MateOutbound mateOutbound);
}
